package com.erpanderp.wam.asset.model.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import javax.persistence.Transient;

import com.erpanderp.wam.usm.model.entity.user.Employee;

public class AssetDetails {
	 
	private Long assetDetailsId;
	private String assetReferenceCode;
	private AssetRequest assetRequest;
	private String  assetType;
	private Employee  assetRaisedBy;
	private Employee  assetAssignedBy;
	private String assetStatus;
	private String assetAssignedStatus;
	private AssetMaster assetMaster;
	private Date requiredDate;
	private Date expectedReturnDate;	
	private String purpose;
	private String remarks;
	
	private Date createDate;
	private Date dateModified;
	private String createdBy;
	private String modifiedBy;
	private String description;
	private String status;
	private Set<AssetHistory> assetHistories = new HashSet<AssetHistory>();
	@Transient
	private int Sno;
	
	
	//GENERAE SETTERS AND GETTERS
	public Long getAssetDetailsId() {
		return assetDetailsId;
	}
	public void setAssetDetailsId(Long assetDetailsId) {
		this.assetDetailsId = assetDetailsId;
	}
	public String getAssetReferenceCode() {
		return assetReferenceCode;
	}
	public void setAssetReferenceCode(String assetReferenceCode) {
		this.assetReferenceCode = assetReferenceCode;
	}
	public AssetRequest getAssetRequest() {
		return assetRequest;
	}
	public void setAssetRequest(AssetRequest assetRequest) {
		this.assetRequest = assetRequest;
	}
	public String getAssetType() {
		return assetType;
	}
	public void setAssetType(String assetType) {
		this.assetType = assetType;
	}
	public Date getRequiredDate() {
		return requiredDate;
	}
	public void setRequiredDate(Date requiredDate) {
		this.requiredDate = requiredDate;
	}
	
	public String getPurpose() {
		return purpose;
	}
	public void setPurpose(String purpose) {
		this.purpose = purpose;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public Date getDateModified() {
		return dateModified;
	}
	public void setDateModified(Date dateModified) {
		this.dateModified = dateModified;
	}
	
	public String getModifiedBy() {
		return modifiedBy;
	}
	public void setModifiedBy(String modifiedBy) {
		this.modifiedBy = modifiedBy;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public int getSno() {
		return Sno;
	}
	public void setSno(int sno) {
		Sno = sno;
	}
	
	public Employee getAssetRaisedBy() {
		return assetRaisedBy;
	}
	public void setAssetRaisedBy(Employee assetRaisedBy) {
		this.assetRaisedBy = assetRaisedBy;
	}
	public Employee getAssetAssignedBy() {
		return assetAssignedBy;
	}
	public void setAssetAssignedBy(Employee assetAssignedBy) {
		this.assetAssignedBy = assetAssignedBy;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public Date getExpectedReturnDate() {
		return expectedReturnDate;
	}
	public void setExpectedReturnDate(Date expectedReturnDate) {
		this.expectedReturnDate = expectedReturnDate;
	}
	public String getAssetStatus() {
		return assetStatus;
	}
	public void setAssetStatus(String assetStatus) {
		this.assetStatus = assetStatus;
	}
	public String getAssetAssignedStatus() {
		return assetAssignedStatus;
	}
	public void setAssetAssignedStatus(String assetAssignedStatus) {
		this.assetAssignedStatus = assetAssignedStatus;
	}
	
	public AssetMaster getAssetMaster() {
		return assetMaster;
	}
	public void setAssetMaster(AssetMaster assetMaster) {
		this.assetMaster = assetMaster;
	}
	public Set<AssetHistory> getAssetHistories() {
		return assetHistories;
	}
	public void setAssetHistories(Set<AssetHistory> assetHistories) {
		this.assetHistories = assetHistories;
	}
	
}
